package com.service.impl.user;

import com.service.user.LoginUserDetailsService;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created with IntelliJ IDEA.
 * User: lxf
 * Date: 2016/4/21
 * Time: 17:38
 * To change this template use File | Settings | File Templates.
 */
@Service("loginUserDetailsService")
@Transactional
public class LoginUserDetailsServiceImpl implements LoginUserDetailsService {


    @Override
    public UserDetails loadUserByUsername(String username, String password, String validateCode) throws UsernameNotFoundException {
        System.out.println(username);
        System.out.println(password);
        System.out.println(validateCode);
        return null;
    }
}
